{extend name="homePage/userPage" /}
{block name="css"}
{/block}
{block name="main"}
    <div style="border:1px solid #ccc">
            <form class="form-horizontal" method="post" action="{:url('index/User/editpass')}"  >
                <input type="hidden" name="id" value="{$user.id}">
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">原密码</label>
                    <div class="col-md-6 col-sm-10">
                      <input type="password" class="form-control name" id="exampleInputAccount4" name="oldpass" >
                    </div>
                </div>
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">新密码</label>
                    <div class="col-md-6 col-sm-10">
                      <input type="password" class="form-control name" id="exampleInputAccount4" name="newpass" >
                    </div>
                </div>
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">确认密码</label>
                    <div class="col-md-6 col-sm-10">
                      <input type="password" class="form-control name" id="exampleInputAccount4" name="repass"  >
                    </div>
                </div>
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">确认密码</label>
                    <div class="col-md-6 col-sm-10">
                      <input type="submit" class="btn btn-info" id="exampleInputAccount4">
                      <input type="reset" class="btn btn-warning" id="exampleInputAccount4">
                    </div>
                </div>

                </form>

    </div>

{/block}
{block name="block"}
{/block}

